<?php

namespace App\Webdisk\Model;

use Illuminate\Database\Eloquent\Model;

class PlaylistInfo extends Model
{
    //
    protected $table = "playlist_info";
    protected $primaryKey = '';
    public $timestamps = false;
    public $incrementing = false;

    static public function getList($list_id){
        return self::where('list_id', '=', $list_id)->orderBy('num', 'desc')->get();
    }
}
